export const menuList = {
  wxxqf: [
    {
      hasChild: false,
      href: 'self',
      lable: 'personalHomepage.m1',
      tabkey: '1'
    },
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: true,
      href: '/organizationStructure',
      lable: 'personalHomepage.m5',
      children: [
        {
          hasChild: false,
          href: '/shipping',
          lable: 'personalHomepage.m6'
        },
        {
          hasChild: false,
          href: '/user/dockOrder',
          lable: 'personalHomepage.m7'
        },
        {
          hasChild: false,
          href: '/user/procurement',
          lable: 'personalHomepage.m8'
        },
        {
          hasChild: false,
          href: '/user/externalAssistance',
          lable: 'personalHomepage.m9'
        },
        {
          hasChild: false,
          href: '/user/priceSheet',
          lable: 'personalHomepage.m10'
        },
        {
          hasChild: false,
          href: '/user/PriceComparativeList',
          lable: 'personalHomepage.m11'
        },
        {
          hasChild: false,
          href: '/user/check',
          lable: 'personalHomepage.m12',
          reGradeCode: ['mfhy'] // 无权限的会员
        },
        {
          hasChild: false,
          href: '/user/daily',
          lable: 'personalHomepage.m13'
        },
        {
          hasChild: false,
          href: '/user/evaluate',
          lable: 'personalHomepage.m14'
        }
      ]
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    },
    {
      hasChild: false,
      href: 'self',
      lable: 'personalHomepage.m20',
      tabkey: '2'
    },
    {
      hasChild: false,
      href: 'self',
      lable: 'personalHomepage.m21',
      tabkey: '3'
    }
  ],
  wxfws: [
    // {
    //     hasChild:false,
    //     href:'/organizationStructure',
    //     lable:'personalHomepage.m1'
    // },
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: true,
      href: '/organizationStructure',
      lable: 'personalHomepage.m5',
      children: [
        {
          hasChild: false,
          href: '/user/dockOrder/invitationQuotation',
          lable: 'personalHomepage.wxfws.m1',
          reGradeCode: ['mfhy'] // 无权限的会员
        },
        {
          hasChild: false,
          href: '/user/dockOrder/priceSheet',
          lable: 'personalHomepage.wxfws.m2',
          reGradeCode: ['mfhy'] // 无权限的会员
        },
        // {
        //     hasChild:false,
        //     href:'/organizationStructure',
        //     lable:'personalHomepage.m18'
        // },
        {
          hasChild: false,
          href: '/user/dockOrder/orderList',
          lable: 'personalHomepage.wxfws.m3',
          reGradeCode: ['mfhy'] // 无权限的会员'
        },
        // {
        //     hasChild: false,
        //     href: '/user/check',
        //     lable: 'personalHomepage.m12',
        //     reGradeCode: ['mfhy'] // 无权限的会员
        // },
        {
          hasChild: false,
          href: '/user/procurement',
          lable: 'personalHomepage.wxfws.m4'
        },
        {
          hasChild: false,
          href: '/user/externalAssistance',
          lable: 'personalHomepage.wxfws.m5'
        },
        {
          hasChild: false,
          href: '/user/priceSheet',
          lable: 'personalHomepage.wxfws.m6'
        },
        {
          hasChild: false,
          href: '/user/PriceComparativeList',
          lable: 'personalHomepage.wxfws.m7'
        },
        {
          hasChild: false,
          href: '/user/evaluate',
          lable: 'personalHomepage.wxfws.m8'
        }
      ]
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ],
  cgfws: [
    // {
    //     hasChild:false,
    //     href:'/organizationStructure',
    //     lable:'personalHomepage.m1'
    // },
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },

    {
      hasChild: true,
      href: '/organizationStructure',
      lable: 'personalHomepage.m5',
      children: [
        {
          hasChild: false,
          href: '/user/procurement/invitationQuotation',
          lable: 'personalHomepage.m16',
          reGradeCode: ['mfhy'] // 无权限的会员
        },
        {
          hasChild: false,
          href: '/user/procurement/priceSheet',
          lable: 'personalHomepage.m17',
          reGradeCode: ['mfhy'] // 无权限的会员
        }
      ]
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ],
  waxfws: [
    // {
    //     hasChild:false,
    //     href:'/organizationStructure',
    //     lable:'personalHomepage.m1'
    // },
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },

    {
      hasChild: true,
      href: '/organizationStructure',
      lable: 'personalHomepage.m5',
      children: [
        {
          hasChild: false,
          href: '/user/externalAssistance/invitationQuotation',
          lable: 'personalHomepage.m16',
          reGradeCode: ['mfhy'] // 无权限的会员
        },
        {
          hasChild: false,
          href: '/user/externalAssistance/priceSheet',
          lable: 'personalHomepage.m17',
          reGradeCode: ['mfhy'] // 无权限的会员
        }
      ]
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ],
  sfjg: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ],
  pthy: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      customerClassCode: ['15'],
      href: '/addCrewResume',
      params: {
        pageType: 'edit'
      },
      lable: 'personalHomepage.m15'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ]
}

export const rightMessage = {
  wxxqf: [
    {
      title: 'personalHomepage.t1',
      firstKey: 'mainPageOrganizationVo',
      sloganTxt: false,
      sloganKey: `customerCountText`,
      listData: [
        {
          name: 'personalHomepage.t1_1',
          key: 'customerRoleCount'
        },
        {
          name: 'personalHomepage.t1_2',
          key: 'repairShipyardCount'
        },
        {
          name: 'personalHomepage.t1_3',
          key: 'purchaseAgentCount'
        },
        {
          name: 'personalHomepage.t1_4',
          key: 'outsourceServerCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t2',
      firstKey: 'mainPageBusinessVo',
      sloganTxt: false,
      sloganKey: `shipOwnCountText`,
      listData: [
        {
          name: 'personalHomepage.t2_1',
          key: 'shipyardRepairedEditCount'
        },
        {
          name: 'personalHomepage.t2_2',
          key: 'quotationCount'
        },
        {
          name: 'personalHomepage.t2_3',
          key: 'shipRepairingCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ],
  wxfws: [
    {
      title: 'personalHomepage.t1',
      firstKey: 'mainPageOrganizationVo',
      sloganTxt: false,
      sloganKey: `customerCountText`,
      listData: [
        {
          name: 'personalHomepage.t1_1',
          key: 'customerRoleCount'
        },
        {
          name: 'personalHomepage.t1_5',
          key: 'shipHasServeCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t2',
      firstKey: 'mainPageBusinessVo',
      sloganTxt: false,
      sloganKey: `shipOwnCountText`,
      hideEn: true,
      listData: [
        {
          name: 'personalHomepage.t2_4',
          key: 'dockUnderQuotationCount'
        },
        {
          name: 'personalHomepage.t2_5',
          key: 'quotationFinishedCount'
        },
        {
          name: 'personalHomepage.t2_9',
          key: 'shipRepairingCount'
        },
        {
          name: 'personalHomepage.t2_7',
          key: 'billHasSendCustomerCount'
        },
        // {
        //   name: 'personalHomepage.t2_8',
        //   key: 'commentByCustomerCount'
        // }
      ]
    },
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ],
  cgfws: [
    {
      title: 'personalHomepage.t4',
      firstKey: 'mainPageQuotationInfoVo',
      sloganTxt: 'personalHomepage.t4_7',
      sloganKey: ``,
      listData: [
        {
          name: 'personalHomepage.t4_1',
          key: 'orderPurchaseQuotationCount'
        },
        {
          name: 'personalHomepage.t4_3',
          key: 'orderPurchaseReceivedCount'
        },
        {
          name: 'personalHomepage.t4_2',
          key: 'quotationPurchaseFinishedCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t1',
      firstKey: 'mainPageOrganizationVo',
      sloganTxt: false,
      sloganKey: `customerCountText`,
      listData: [
        {
          name: 'personalHomepage.t1_1',
          key: 'customerRoleCount'
        },
        {
          name: 'personalHomepage.t1_5',
          key: 'shipHasServeCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ],
  waxfws: [
    {
      title: 'personalHomepage.t4',
      firstKey: 'mainPageQuotationInfoVo',
      sloganTxt: 'personalHomepage.t4_8',
      sloganKey: ``,
      listData: [
        {
          name: 'personalHomepage.t4_4',
          key: 'orderPurchaseQuotationCount'
        },
        {
          name: 'personalHomepage.t4_6',
          key: 'orderPurchaseReceivedCount'
        },
        {
          name: 'personalHomepage.t4_5',
          key: 'quotationAssistFinishedCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t1',
      firstKey: 'mainPageOrganizationVo',
      sloganTxt: false,
      sloganKey: `customerCountText`,
      listData: [
        {
          name: 'personalHomepage.t1_1',
          key: 'customerRoleCount'
        },
        {
          name: 'personalHomepage.t1_5',
          key: 'shipHasServeCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ],
  sfjg: [
    {
      title: 'personalHomepage.t1',
      firstKey: 'mainPageOrganizationVo',
      sloganTxt: false,
      sloganKey: `customerCountText`,
      listData: [
        {
          name: 'personalHomepage.t1_1',
          key: 'customerRoleCount'
        }
      ]
    },
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ],
  pthy: [
    {
      title: 'personalHomepage.t3',
      firstKey: 'mainPageForumInfoVo',
      sloganTxt: false,
      sloganKey: `articleCountText`,
      listData: [
        {
          name: 'personalHomepage.t3_1',
          key: 'thumbsUpInfos'
        },
        {
          name: 'personalHomepage.t3_2',
          key: 'collectInfos'
        }
      ]
    }
  ]
}

export const mobileMenuList = {
  wxxqf: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    },

    {
      hasChild: false,
      href: '/shipping',
      lable: 'personalHomepage.m6'
    },
    {
      hasChild: false,
      href: '/user/dockOrder',
      lable: 'personalHomepage.m7'
    },
    {
      hasChild: false,
      href: '/user/procurement',
      lable: 'personalHomepage.m8'
    },
    {
      hasChild: false,
      href: '/user/externalAssistance',
      lable: 'personalHomepage.m9'
    },
    {
      hasChild: false,
      href: '/user/priceSheet',
      lable: 'personalHomepage.m10'
    },

    {
      hasChild: false,
      href: '/user/check',
      lable: 'personalHomepage.m12',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/daily',
      lable: 'personalHomepage.m13'
    },
    {
      hasChild: false,
      href: '/user/evaluate',
      lable: 'personalHomepage.m14'
    }
  ],
  wxfws: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    },

    {
      hasChild: false,
      href: '/user/dockOrder/invitationQuotation',
      lable: 'personalHomepage.wxfws.m1',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/dockOrder/priceSheet',
      lable: 'personalHomepage.wxfws.m2',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/dockOrder/orderList',
      lable: 'personalHomepage.wxfws.m3',
      reGradeCode: ['mfhy'] // 无权限的会员'
    },
    {
      hasChild: false,
      href: '/user/check',
      lable: 'personalHomepage.m12',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/procurement',
      lable: 'personalHomepage.wxfws.m4'
    },
    {
      hasChild: false,
      href: '/user/externalAssistance',
      lable: 'personalHomepage.wxfws.m5'
    },
    {
      hasChild: false,
      href: '/user/priceSheet',
      lable: 'personalHomepage.wxfws.m6'
    },
    {
      hasChild: false,
      href: '/user/evaluate',
      lable: 'personalHomepage.wxfws.m8'
    }
  ],
  cgfws: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    },

    {
      hasChild: false,
      href: '/user/procurement/invitationQuotation',
      lable: 'personalHomepage.m16',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/procurement/priceSheet',
      lable: 'personalHomepage.m17',
      reGradeCode: ['mfhy'] // 无权限的会员
    }
  ],
  waxfws: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    },

    {
      hasChild: false,
      href: '/user/externalAssistance/invitationQuotation',
      lable: 'personalHomepage.m16',
      reGradeCode: ['mfhy'] // 无权限的会员
    },
    {
      hasChild: false,
      href: '/user/externalAssistance/priceSheet',
      lable: 'personalHomepage.m17',
      reGradeCode: ['mfhy'] // 无权限的会员
    }
  ],
  sfjg: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/organizationStructure',
      lable: 'personalHomepage.m3'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ],
  pthy: [
    {
      hasChild: false,
      href: '/personalInformation',
      lable: 'personalHomepage.m2'
    },
    {
      hasChild: false,
      href: '/crewResume',
      params: {
        id: JSON.parse(localStorage.getItem('login')).userInfo.id
      },
      lable: 'personalHomepage.m15'
    },
    {
      hasChild: false,
      href: '/bLogTrends',
      lable: 'personalHomepage.m4'
    }
  ]
}
